package cn.xlbweb.sso.service;

import cn.xlbweb.sso.entity.ServerDTO;
import cn.xlbweb.sso.server.LayuiTable;

/**
 * @author: bobi
 * @date: 2019-03-18 00:02
 * @description:
 */
public interface IServerService {

    ServerDTO save(String token, String browser, String os);

    Boolean verifyToken(String token);

    int deleteByToken(String token);

    Boolean existsByToken(String token);

    LayuiTable list(Integer page, Integer limit);
}
